package com.iotechn.unimall.data.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import com.dobbinsoft.fw.support.domain.SuperDO;
import com.iotechn.unimall.data.enums.StatusType;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Generate Code By Unimall
 */
@Data
@ApiEntity(description = "")
@TableName("unimall_inspection")
public class InspectionDO extends SuperDO {

    @ApiField(description ="id")
    private Long id;
    @ApiField(description ="轮数Id")
    private Long roundsId;
    @ApiField(description ="机房名")
    private String roomName;
    @ApiField(description ="机房id")
    private Long roomId;
    @ApiField(description ="设备类型")
    private String equipmentType;
    @ApiField(description ="设备编号")
    private String equipmentNo;
    @ApiField(description ="设备id")
    private Long equipmentId;
    @ApiField(description ="温度")
    private Double temperature;
    @ApiField(description ="湿度")
    private String humidity;
    @ApiField(description ="运行状态")
    private Integer runningStatus;
    @ApiField(description ="附件")
    private String photo;
    @ApiField(description ="巡检结果（3正常,4异常,5漏检）")
    private Integer inspectionStatus;
    @ApiField(description ="异常事项")
    private String abnormalMatters;
    @ApiField(description ="异常状态（6未处理,7已处理）")
    private Integer abnormalStatus;
    @ApiField(description ="备注")
    private String remarks;
    @ApiField(description ="gmt_update")
    private Date gmtUpdate;
    @ApiField(description ="gmt_create")
    private Date gmtCreate;

    @ApiField(description ="巡检列表")
    @TableField(exist = false)
    private List<InspectionDO> inspectionDOList;
}
